package org.example.api.goods.request;

import org.example.api.goods.constant.GoodsEvent;

/**
 * 商品取消售卖请求
 *
 * @author lly
 */
public record GoodsCancelSaleRequest(String identifier, Long collectionId, Integer quantity) {

    public GoodsEvent eventType() {
        return GoodsEvent.CANCEL_SALE;
    }
}
